package cn.dhnapplets.mapper;

import cn.dhnapplets.entity.BillHoresmand;
import cn.dhnapplets.entity.Order;
import cn.dhnapplets.entity.OrderItem;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 邱文彬
 * @Date 2021/11/23 9:20
 * @Version 1.0
 */

public interface BillMapper {
    Double queryOrderByOpenId(@Param("openId") String openId, @Param("productType")String productType);

    Double queryBillHorsemandByOrderId(@Param("openId")String openId,@Param("productType")String productType);

    List<Order> queryOrderNumberByOpenId(@Param("openId")String openId);

    List<OrderItem> queryOrderNumberItemByOpenId(@Param("openId")String openId, @Param("productType") String productType);

    List<BillHoresmand> queryBullByOpenId(@Param("openId")String openId, @Param("productType")String productType);

    Integer insert(BillHoresmand billHoresmand);


}
